2024-07-08T09:53:57.575+08:00  INFO 16220 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-07-08T09:53:57.587+08:00  INFO 16220 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-07-08T09:54:00.503+08:00  INFO 18844 --- [main] c.example.demo.JavaChatroomApplication   : Starting JavaChatroomApplication using Java 17.0.10 with PID 18844 (E:\java项目\java_chatroom\target\classes started by 王丛发 in E:\java项目\java_chatroom)
2024-07-08T09:54:00.505+08:00  INFO 18844 --- [main] c.example.demo.JavaChatroomApplication   : No active profile set, falling back to 1 default profile: "default"
2024-07-08T09:54:01.013+08:00  INFO 18844 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-07-08T09:54:01.015+08:00  INFO 18844 --- [main] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.39] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-07-08T09:54:01.016+08:00  INFO 18844 --- [main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.39] using APR version [1.7.4].
2024-07-08T09:54:01.019+08:00  INFO 18844 --- [main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 3.0.11 19 Sep 2023]
2024-07-08T09:54:01.024+08:00  INFO 18844 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-07-08T09:54:01.024+08:00  INFO 18844 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.25]
2024-07-08T09:54:01.058+08:00  INFO 18844 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-07-08T09:54:01.058+08:00  INFO 18844 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 529 ms
2024-07-08T09:54:01.384+08:00  INFO 18844 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2024-07-08T09:54:01.389+08:00  INFO 18844 --- [main] c.example.demo.JavaChatroomApplication   : Started JavaChatroomApplication in 1.122 seconds (process running for 1.407)
2024-07-08T09:54:07.451+08:00  INFO 18844 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-08T09:54:07.452+08:00  INFO 18844 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-07-08T09:54:07.452+08:00  INFO 18844 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 0 ms
2024-07-08T09:54:07.524+08:00  INFO 18844 --- [http-nio-8080-exec-2] com.example.demo.api.FriendAPI           : session 不存在
2024-07-08T09:54:07.524+08:00  INFO 18844 --- [http-nio-8080-exec-7] com.example.demo.api.UserAPI             : 当前获取不到 session 对象
2024-07-08T09:54:07.524+08:00  INFO 18844 --- [http-nio-8080-exec-4] com.example.demo.api.MessageSessionAPI   : 获取 session 失败
2024-07-08T09:54:10.388+08:00  INFO 18844 --- [http-nio-8080-exec-5] com.example.demo.api.UserAPI             : 用户登录, username:lisi, password:123
2024-07-08T09:54:10.411+08:00  INFO 18844 --- [http-nio-8080-exec-5] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-07-08T09:54:10.606+08:00  INFO 18844 --- [http-nio-8080-exec-5] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@3e687d97
2024-07-08T09:54:10.607+08:00  INFO 18844 --- [http-nio-8080-exec-5] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-07-08T09:54:21.121+08:00  INFO 18844 --- [http-nio-8080-exec-10] com.example.demo.api.UserAPI             : 用户登录, username:zhangsan, password:123
